﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using entities;
using WeaponApplication.logging;

namespace weapon
{
    public class Program
    {
        private static ILogger logger = LoggerFactory.CreateLogger();
       
        static void Main(string[] args)
        {
            logger.Log("Program started");
            
            HeroFactory factory = new HeroFactory();
            Hero hero = factory.Create();
            HeroPrinter.Print(hero);
            Console.ReadKey();
            
            logger.Log("Programm ended");

        }
    }
}
